package com.mx.iecisa.oaxaca;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;

/**
 * 
 * @author jparanda
 *
 */
public class ColumnDesc_cfuh {
	
	private List<String> valuesColumnDesc_cfuh=new ArrayList<String>();
	
	public ColumnDesc_cfuh(InputStream excelFile,Workbook book)throws Exception{
		
		this.clearDataColum(excelFile,book);
		this.clearSpecialCharacters();
		Validaciones.createAndSaveFile(this.valuesColumnDesc_cfuh,Constants.getPathFileColumnDesccfuhSaved());
				
	}
	
	private void clearDataColum(InputStream excelFile,Workbook workbook) throws IOException
	{
		this.valuesColumnDesc_cfuh=Validaciones.clearDataColumn(excelFile, workbook, Constants.COLUMN_DESC_CFUH,Constants.STRING_VALOR_SIN_NOMBRE);
	}
	
	public void clearSpecialCharacters()
	{
		this.valuesColumnDesc_cfuh=Validaciones.eliminarCaracteresEspeciales(this.valuesColumnDesc_cfuh,Constants.STRING_VALOR_SIN_NOMBRE);
		
	}
	
	
	public List<String> getValuesColumnDesc_cfuh() {
		return valuesColumnDesc_cfuh;
	}

	public void setValuesColumnDesc_cfuh(List<String> valuesColumnDesc_cfuh) {
		this.valuesColumnDesc_cfuh = valuesColumnDesc_cfuh;
	}
	

}
